﻿package sample.ui.components.scroll{	import flash.display.SimpleButton	import flash.text.TextFormatAlign	import flash.events.Event	import flash.events.MouseEvent	import flash.display.Sprite;	import flash.display.Graphics	import sample.ui.components.SampleButton	import sample.ui.components.Box	public class ScrollTracker extends SampleButton {		function ScrollTracker(clickHandler:Function = null){			super(clickHandler)			_width = 20			_height = 20			this.upState 		= new Box().margin(0,0,0,0).fill(0xFFFFFF,1,3).border(1,0x558888)			this.downState 		= new Box().margin(0,0,0,0).fill(0x558888,1,3).border(1,0x000000)			this.overState 		= new Box().margin(0,0,0,0).fill(0x55AAAA,1,3).border(1,0x000000)			this.hitTestState 	= new Box().margin(0,0,0,0).fill(0xFFFFFF,1,3).border(1,0x55AAAA)		}	}}